package pojo;

public class ClassicFormulaComposition {
    //id
    private int id;
    //处方id
    private int cfid;
    //中草药id
    private int tcmid;
    //中药
    private Tcm tcm;
    //用量
    private  String dosage;
    //用法
    private String usage;


    public Tcm getTcm() {
        return tcm;
    }

    public void setTcm(Tcm tcm) {
        this.tcm = tcm;
    }

    public ClassicFormulaComposition() {
    }

    public ClassicFormulaComposition(int id, int cfid, int tcmid, String dosage, String usage) {
        this.id = id;
        this.cfid = cfid;
        this.tcmid = tcmid;
        this.dosage = dosage;
        this.usage = usage;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCfid() {
        return cfid;
    }

    public void setCfid(int cfid) {
        this.cfid = cfid;
    }

    public int getTcmid() {
        return tcmid;
    }

    public void setTcmid(int tcmid) {
        this.tcmid = tcmid;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getUsage() {
        return usage;
    }

    public void setUsage(String usage) {
        this.usage = usage;
    }
}
